package com.itheima.reggie.service;

import com.itheima.reggie.common.R;
import com.itheima.reggie.entity.Orders;

/**
 * @author:YZN
 * @date:2023/1/7
 * @description:
 */
public interface OrderService {
    R submit(Orders order);

    void updateById(String orderId);

    Orders getById(String orderId);

    R orderPage(Integer page, Integer pageSize, String number, String beginTime, String endTime);

    R userPage(Integer page, Integer pageSize);
}
